package com.coffee.order.api.sku.service;

import com.coffee.core.entity.Page;
import com.coffee.core.entity.PagerInfo;
import com.coffee.core.exception.BusinessException;
import com.coffee.order.api.sku.query.PayOrderQuery;
import com.coffee.order.api.sku.result.PayOrderResult;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface PayOrderService {

	Page<PayOrderResult> getPager(PayOrderQuery param, PagerInfo pr);
	
	Integer count(PayOrderQuery param);
	
	PayOrderResult getDetail(Integer id);
	
	List<PayOrderResult> getList(PayOrderQuery param, PagerInfo pr);
	
	List<PayOrderResult> getList(PayOrderQuery param);
	
	List<PayOrderResult> getList();

	void delete(Integer id);

	void addOrUpdate(PayOrderResult result)throws BusinessException;
	
	Map<Integer,PayOrderResult> getItemMap(Set<Integer> idSet);
	
	Map<Integer,PayOrderResult> getItemMap();

	void insertWeixinNotifyParameter(Map<String, String> map);
	
}